import request from "@/common/request.js";

//配置信息
export function configApi() {
    return request({
        method: "post",
        url: "/api/ajax/config",
    });
}

//省市区4级联动
export function areaListApi(body) {
    return request({
        method: "post",
        url: "/api/xh_area/city_village",
        data: body || {},
        loadingTip: "",
    });
}

//省市区3级联动
export function provincesListApi(body) {
    return request({
        method: "post",
        url: "/api/xh_area/all_list",
        data: body || {},
        loadingTip: "",
    });
}
//富文本配置信息
export function richTxtApi(body) {
    return request({
        method: "post",
        url: "/api/ajax/rich_txt",
        data: body || {},
    });
}

//酒相关分类列表
export function thingListApi(body) {
    return request({
        method: "post",
        url: "/api/goods/thing_list",
        data: body || {},
    });
}